package com.chengcang.api.modules.busi.dao;

import com.chengcang.api.modules.busi.dto.BusiOrderPageDTO;
import com.chengcang.api.modules.busi.entity.BusiOrderEntity;
import com.chengcang.api.modules.busi.vo.BusiOrderVO;
import com.chengcang.common.dao.BaseDao;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 
 *
 * @author zhanli
 * @since 1.0.0 2023-01-10
 */
@Mapper
public interface BusiOrderDao extends BaseDao<BusiOrderEntity> {

    List<BusiOrderVO> getSupplyPage(BusiOrderPageDTO dto);

    int getSupplyCount(BusiOrderPageDTO dto);
    List<BusiOrderVO> getDemandOrderPage(BusiOrderPageDTO dto);

    int getDemandOrderCount(BusiOrderPageDTO dto);

    List<BusiOrderVO> getAllOrderPage(BusiOrderPageDTO dto);

    int getAllOrderCount(BusiOrderPageDTO dto);


}